<!DOCTYPE html>
<html lang="cn">
<head>
    <meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">
    <title><?php echo $projectName?> - <?php echo TITLE_BROWSER;?></title>
    <link rel="shortcut icon" type="image/ico" href="<?php echo URL_ASSET_ROOT;?>img/favicon.png" />
    <link rel="stylesheet" href="<?php echo URL_ASSET_ROOT; ?>css/lib/bootstrap/bootstrap-3.3.7.min.css">
    <link rel="stylesheet" href="<?php echo URL_ASSET_ROOT;?>css/private/browser/browser.iPhone.min.css">
</head>
<body>

<input type="hidden" id="project_id_input" value="<?php echo $projectId;?>">
<input type="hidden" id="server_url_input" value="<?php echo URL_SERVER;?>">
<input type="hidden" id="logo_url_input" value="<?php echo $logoUrl;?>">
<input type="hidden" id="music_url_input" value="<?php echo $musicUrl;?>">
<input type="hidden" id="map_url_input" value="<?php echo $mapUrl;?>">
<input type="hidden" id="prj_url_input" value="<?php echo $prjUrl;?>">

<img id="spinner" class="spinner" src="<?php echo URL_ASSET_ROOT;?>img/icon_spinner.png"/>

<div id="msg_div" class="msg_div"></div>
<img id="msg_close_btn" class="msg_close_btn" src="<?php echo URL_ASSET_ROOT; ?>img/public/icon_close.png" style="display: none;"/>

<div class="map_container">
    <canvas id="map_canvas" class="map_canvas"></canvas>
    <img  id="map_close_btn" class="map_close_btn" src="<?php echo URL_ASSET_ROOT;?>img/public/icon_close.png" style="display: none;"/>
</div>

<canvas id="canvas" class="canvas"></canvas>

<img id="vr_btn" class="vr_btn" src="<?php echo URL_ASSET_ROOT; ?>img/vr_btn.png" style="display: none;"/>
<img id="music_btn" class="music_btn" src="<?php echo URL_ASSET_ROOT;?>img/public/icon_music_blue.png"/>
<img id="map_btn" class="map_btn" src="<?php echo URL_ASSET_ROOT;?>img/public/icon_map_locate.png"/>

<audio id="music_audio"></audio>

<script language="JavaScript" type="text/javascript">
    var browser = {
        versions: function () {
            var u = navigator.userAgent, app = navigator.appVersion;
            return {
                trident: u.indexOf('Trident') > -1, // IE
                presto: u.indexOf('Presto') > -1, // opera
                webKit: u.indexOf('AppleWebKit') > -1, // apple google core
                gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, // firefox
                mobile: !!u.match(/AppleWebKit.*Mobile.*/) || !!u.match(/AppleWebKit/),
                ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),
                android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1,
                iPhone: u.indexOf('iPhone') > -1 || u.indexOf('Mac') > -1,
                iPad: u.indexOf('iPad') > -1,
                webApp: u.indexOf('Safari') == -1
            };
        } ()
    };
    if(browser.versions.trident) {
        alert('此浏览器暂不支持！');
    } else {
        document.getElementById('spinner').style.display = '';
    }
</script>

<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/jquery/jquery-2.1.3.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/bootstrap/bootstrap-3.3.7.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/tween/tween-16.3.5.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/jquery_fullscreen/jquery.fullscreen-min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/jquery_rotate/jquery.rotate-min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/bowser/bowser-1.0.0.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/no_sleep/NoSleep-5.0.0.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/sam/sam.comp.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/sam/probe.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/sam/control.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/sam/view.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT; ?>js/lib/md5/md5-2.3.0.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/lib/paper/paper-core-v0.10.2.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/private/lib/ut.min.js"></script>
<script type="text/javascript" src="<?php echo URL_ASSET_ROOT;?>js/private/browser/browser.iPhone.min.js"></script>

<!--友盟统计-->
<style type="text/css">#cnzz_stat_icon_1261120765 {display: none;}</style>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261120765'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1261120765' type='text/javascript'%3E%3C/script%3E"));</script>

</body>
</html>